package com.crm.dao.mapper.customerManager;

import com.crm.model.entity.customerManager.CustomerPoolRule;
import com.crm.model.entity.customerManager.CustomerPoolRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerPoolRuleMapper {
    long countByExample(CustomerPoolRuleExample example);

    int deleteByExample(CustomerPoolRuleExample example);

    int deleteByPrimaryKey(String customerPoolRuleId);

    int insert(CustomerPoolRule record);

    int insertSelective(CustomerPoolRule record);

    List<CustomerPoolRule> selectByExample(CustomerPoolRuleExample example);

    CustomerPoolRule selectByPrimaryKey(String customerPoolRuleId);

    int updateByExampleSelective(@Param("record") CustomerPoolRule record, @Param("example") CustomerPoolRuleExample example);

    int updateByExample(@Param("record") CustomerPoolRule record, @Param("example") CustomerPoolRuleExample example);

    int updateByPrimaryKeySelective(CustomerPoolRule record);

    int updateByPrimaryKey(CustomerPoolRule record);
}